package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: 2019-10-12_userCenter
 * @description: 根据手机号获取企业用户名
 * @author: DaiGaoLe
 * @create: 2019-11-13 09:46
 **/
@Data
@ApiModel(value = "根据手机号或账号获取企业用户名", description = "根据手机号获取企业用户名")
public class TelephoneGetUserNameReq extends BaseReqObj {
    private static final long serialVersionUID = -6193939408896915484L;
    /**
     * 用户手机号
     */
    @ApiModelProperty(value = "用户手机号", notes = "用户手机号", dataType = "String")
    private String telephone;
    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号", notes = "用户账号", dataType = "String")
    private String userAccounts;

    /**
     * 是否查询全渠道
     */
    @ApiModelProperty(value = "是否查询全渠道0:是,1:否,默认为1", notes = "是否查询全渠道0:是,1:否,默认为1", dataType = "String")
    private String searchAllChannels;
}
